﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JXC.Core.Models
{
    /// <summary>
    /// 报警表
    /// </summary>
    public class Alarm
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { set; get; }//ID

        [ForeignKey("UserInfosId")]
        public Guid UserInfosId { set; get; }//经办人       拥有指定权限的某人

        public DateTime Alarmt { set; get; }//报警时间     

        public string Remarks { set; get; }//备注
        public UserInfos UserInfos { get; set; }
    }
}
